#include <iostream>

#include "time.h"

using namespace std;

int main() {
    Time time1, time2;
    cout << "Enter two times: ";
    cin >> time1 >> time2;
    cout << time1 << " ||| " << time2 << "\n";

    int ad1, ad2;
    cout << "Enter seconds count to add to recorded times: ";
    cin >> ad1 >> ad2;
    time1 += seconds(ad1); time2 += seconds(ad2);
    cout << time1 << " ||| " << time2 << "\n";

    cout << "Is times equal: " << (time1 == time2) << "\n";
}
